var CusNameSpace = window.CusNameSpace || {};
/*
 Class UpdateTopState
 Function  Top Refrush
 */
CusNameSpace.CusProgramFileLine = function () {
    this.name = 'CusProgramFileLine';
    this.fileName = "";
    this.fileLine = -1;
    this.forwardFileLine = -1;
    this.selectLine = -1;
    this.mapName = "";
    this.arrayFileDataCh = new Array();
    this.arrayFileDataEn = new Array();
};

CusNameSpace.CusProgramFileLine.prototype.onInitData = function () {


};
CusNameSpace.CusProgramFileLine.prototype.GetArrayFileDataToShow = function () {
    var languageType=window.objGlobalManage.objCusProgramMode.languageProgramString;
    if(languageType === enumTypeProgramLanguageType.kLanuageCh)
    {
        return this.arrayFileDataCh;
    }
    else
    {
        return this.arrayFileDataEn;
    }

};
CusNameSpace.CusProgramFileLine.prototype.GetArrayFileDataFromType = function (languageType) {
    if(languageType === enumTypeProgramLanguageType.kLanuageCh)
    {
        return this.arrayFileDataCh;
    }
    else
    {
        return this.arrayFileDataEn;
    }

};

CusNameSpace.CusProgramFilePosition = function () {
    this.name = 'CusProgramFilePosition';
    this.x = 0;
    this.y = 0;
    this.r = 0;

};

/*超声波检测－点云检测*/
CusNameSpace.CusAvoidCheckInfo = function () {
    this.name = 'CusAvoidCheckInfo';
    //超声波检测
    this.ultrasonicSensorEnable = enumTypeUltrasonicSensorEnable.kUltrasonicSensorClose;
    this.arrayUlrasonicSensorInfo = new Array();

    //点云检测
    this.pointCloudEnable = enumTypePointCloudEnable.kPointCloudClose;
    this.arrayPointCloudInfo = new Array();

};
CusNameSpace.CusAvoidPointCloudData = function () {
    this.name = 'CusAvoidPointCloudData';
    this.data_name = "";
    this.data_value = 0.0;

};

//版本信息
CusNameSpace.CusControllerVersionInfo = function () {
    this.name = 'CusControllerVersionInfo';
    //版本信息
    this.arrayControllerVersionData = new Array();

};
CusNameSpace.CusControllerVersionData = function () {
    this.name = 'CusControllerVersionData';
    //模块版本信息
    this.mode_name = "";
    this.mode_version = "";
    this.release_time = "";

};
//注册信息
CusNameSpace.CusRegisterInfo = function () {
    this.name = 'CusRegisterInfo';
    //版本检测
    this.register_state = 0;
    this.register_number = "";
    this.lock_time = "";
    this.current_time = "";
    this.license_number = "";
};

//呼叫
CusNameSpace.CusCallVehicle = function () {
    this.name = 'CusCallVehicle';
    this.target_position = 0;
    this.comment = "";
    this.user_ip = "";
};


